package leetcode.code1829;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution1829 implements IDebug {


    public abstract int[] getMaximumXor(int[] nums, int maximumBit);

	@Override
	public void debug1() {
		int[] nums = HelpDebug.str2array3("[0,1,1,3]");
		int[] r = this.getMaximumXor(nums, 2);
		int[] e = HelpDebug.str2array3("[0,3,2,3]");
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int[] nums = HelpDebug.str2array3("[2,3,4,7]");
		int[] r = this.getMaximumXor(nums, 3);
		int[] e = HelpDebug.str2array3("[5,2,6,5]");
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int[] nums = HelpDebug.str2array3("[0,1,2,2,5,7]");
		int[] r = this.getMaximumXor(nums, 3);
		int[] e = HelpDebug.str2array3("[4,3,6,4,6,7]");
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
